#include <d3d9.h>
#ifndef INCLUDES_H
#define INCLUDES_H

#define COLOR_VERTEX (D3DFVF_XYZRHW|D3DFVF_DIFFUSE)

struct D3DVERTEX{
	float x, y, z, rhw;
	DWORD color;
};

#define TEXTURE_VERTEX (D3DFVF_XYZ|D3DFVF_TEX1|D3DFVF_TEXCOORDSIZE2(0))

struct TEXTUREVERTEX{
	float x, y, z, u, v;
	DWORD color;
};

enum MATRIX_MODE{
	World = D3DTS_WORLDMATRIX(0),
	View = D3DTS_VIEW,
	Projection = D3DTS_PROJECTION
};
#endif